const {
    override,
    fixBabelImports,
    addLessLoader
  } = require("customize-cra");
module.exports = override(
    fixBabelImports("antd-mobile", {
        libraryName: "antd-mobile", libraryDirectory: 'lib', style:true 
    }),
    addLessLoader({
        javascriptEnabled: true,
        modifyVars: { 
            "@brand-primary": "red",
            "@brand-primary-tap": "red",
            "@fill-body":"#ffffff" //背景色
        }
    })
);
